package com.shiro.demo.service;


import com.shiro.demo.domain.User;

public interface UserService {

    User getUserByName(String name);

    User getUserByNameAndPassword(String name, String password);

    User getUserById(Long id);

    void insertUser(User user);

    void updateUser(User user);

    void deleteUser(Long id);
}
